define( [
		'module',
		'backbone',
		'marionette',
		'model/sample'
		],
function( module, Backbone, Marionette, SampleModel ) {
	console.log("Loading module " + module.id + " from " + module.uri + "...");

	var SampleCollection = Backbone.Collection.extend({
		model: SampleModel,
		url: 'rest?cmd=get&data[filter]=all' // URL for getting the whole collection loaded
	});
	
	return SampleCollection;
});
